home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / Bonus / Plasmatech / ptscp_examples.exe / %MAINDIR% / Examples / NewFileEdit / CBuilder / FMain.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-08-31  |  1.1 KB  |  33 lines

  1. //---------------------------------------------------------------------------
  2. #ifndef FMainH
  3. #define FMainH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "UPTShellControls.hpp"
  10. #include "UPTTreeList.hpp"
  11. #include <ComCtrls.hpp>
  12. //---------------------------------------------------------------------------
  13. class TfrmMain : public TForm
  14. {
  15. __published:    // IDE-managed Components
  16.     TPTShellList *PTShellList1;
  17.     TButton *btnCreate;
  18.     TMemo *Memo1;
  19.     void __fastcall PTShellList1Insert(TObject *Sender, TListItem *Item);    
  20.     void __fastcall btnCreateClick(TObject *Sender);
  21.     
  22. private:    // User declarations
  23.     bool FCreatingFile;
  24.     AnsiString FNewFileName;
  25.     void __fastcall MakeNewFile();
  26. public:        // User declarations
  27.     __fastcall TfrmMain(TComponent* Owner);
  28. };
  29. //---------------------------------------------------------------------------
  30. extern TfrmMain *frmMain;
  31. //---------------------------------------------------------------------------
  32. #endif
  33.